package com.healthcloud.entity.questionnaire;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 问卷问题
 * @author zhangjie
 */
@Data
public class QuestionnaireQuestionEntity {

    private Long id;
    /**
     * 子问卷id
     */
    @ApiModelProperty(value = "子问卷id")
    private Long subtitleId;
    /**
     * 问题
     */
    @ApiModelProperty(value = "问题")
    private String question;
    /**
     * 1:单选 2:多待
     */
    @ApiModelProperty(value = "1:单选 2:多待")
    private Integer type;
    /**
     * 1:必填 2:可以为空
     */
    @ApiModelProperty(value = "1:必填 2:可以为空")
    private Integer state;
    /**
     * 排序
     */
    @ApiModelProperty(value = "排序")
    private Integer sort;

    private Date createTime;

    private Date updateTime;

}